package com.dt.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 员工信息
 *
 * @author JOSWAY
 */
@ApiModel(value = "员工信息")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Employee implements Serializable {
    /**
     * 员工主键
     */
    @ApiModelProperty(value = "员工主键", example = "10086")
    private Integer employeeId;

    /**
     * 员工名称
     */
    @ApiModelProperty(value = "员工名称", example = "小明")
    private String employeeName;

    /**
     * 部门主键：外键 ref Department
     */
    @ApiModelProperty(value = "部门主键：外键 ref Department", example = "10010")
    private Integer departmentId;

    private static final long serialVersionUID = -4101183483579442285L;
}